package com.qys.livesMall.app.user.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户关注列表
 * </p>
 *
 * @author
 * @since 2023-06-02
 */
@Getter
@Setter
@TableName("h2_app_user_concern")
@Schema(name = "AppUserConcern", description = "用户关注列表")
public class AppUserConcern implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "用户id")
    @TableField(value = "user_Id")
    private Long userId;

    @Schema(description = "关注id")
    @TableField(value = "concern_id")
    private Long concernId;

    @Schema(description = "状态(0取消关注,1关注)")
    private Byte status;

    @Schema(description = "头像")
    @TableField("avatar")
    private String avatar;

    @Schema(description = "昵称")
    @TableField("nick_name")
    private String nickName;

    @Schema(description = "关注时间")
    private LocalDateTime concernTime;

    @Schema(description = "是否展示(0不展示，1展示)")
    private Integer exhibition;
}
